package com.ruoyi.project.hcy.saleManagement.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

public class Project extends BaseEntity {
    private int projectId;
    private String projectTitle;
    private String projectType;
    private String projectStatus;

    private String projectSal;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private LocalDateTime projectCreatetime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss")
    private LocalDateTime projectEndtime;
    private String projectRemark;
    private String projectStyle;
    private int orderId;
    private int crewId;
    private int clientId;
    @Override
    public String toString() {
        return "Project{" +
                "projectId=" + projectId +
                ", projectTitle='" + projectTitle + '\'' +
                ", projectType='" + projectType + '\'' +
                ", projectStatus='" + projectStatus + '\'' +
                ", projectSal='" + projectSal + '\'' +
                ", projectCreatetime=" + projectCreatetime +
                ", projectEndtime=" + projectEndtime +
                ", projectRemark='" + projectRemark + '\'' +
                ", projectStyle='" + projectStyle + '\'' +
                ", orderId=" + orderId +
                ", crewId=" + crewId +
                ", clientId=" + clientId +
                '}';
    }



    public int getProjectId() {
        return projectId;
    }

    public void setProjectId(int projectId) {
        this.projectId = projectId;
    }

    public String getProjectTitle() {
        return projectTitle;
    }

    public void setProjectTitle(String projectTitle) {
        this.projectTitle = projectTitle;
    }

    public String getProjectType() {
        return projectType;
    }

    public void setProjectType(String projectType) {
        this.projectType = projectType;
    }

    public String getProjectStatus() {
        return projectStatus;
    }

    public void setProjectStatus(String projectStatus) {
        this.projectStatus = projectStatus;
    }

    public String getProjectSal() {
        return projectSal;
    }

    public void setProjectSal(String projectSal) {
        this.projectSal = projectSal;
    }

    public LocalDateTime getProjectCreatetime() {
        return projectCreatetime;
    }

    public void setProjectCreatetime(LocalDateTime projectCreatetime) {
        this.projectCreatetime = projectCreatetime;
    }

    public LocalDateTime getProjectEndtime() {
        return this.projectEndtime;
    }

    public void setProjectEndtime(LocalDateTime projectEndtime) {
        this.projectEndtime = projectEndtime;
    }

    public String getProjectRemark() {
        return projectRemark;
    }

    public void setProjectRemark(String projectRemark) {
        this.projectRemark = projectRemark;
    }

    public String getProjectStyle() {
        return projectStyle;
    }

    public void setProjectStyle(String projectStyle) {
        this.projectStyle = projectStyle;
    }

    public int getOrderId() {
        return orderId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    public int getCrewId() {
        return crewId;
    }

    public void setCrewId(int crewId) {
        this.crewId = crewId;
    }

    public int getClientId() {
        return clientId;
    }

    public void setClientId(int clientId) {
        this.clientId = clientId;
    }



}
